package com.ylr.template;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ylr
 * @version 1.0.0
 * @ClassName Test.java
 * @Description TODO
 * @createTime 2022年01月08日 15:15:00
 */
@RestController
public class TestController {



    @GetMapping("/createBean/test")
    @ApiOperation(value = "createBean test", tags = "createBean test")
    public void test(String beanName){
        AbstractService service = AbstractService.getService(beanName);
        service.sayHello(beanName);
    }

}
